class CreateShimOutputs < ActiveRecord::Migration
  def self.up
    create_table :shim_outputs do |t|
      t.integer :shim_id, :null => false, :options => "CONSTRAINT fk_output_shim_id REFERENCES shims(id)"
      t.string :name, :null => false

      t.timestamps
    end
  end

  def self.down
    drop_table :shim_outputs
  end
end
